/*
 * @Date: 2023-03-06 18:39:42
 * @LastEditors: Zireael 1193875164@qq.com
 * @LastEditTime: 2023-03-07 13:46:33
 * @FilePath: \A19\backend\src\shared\protocols\QuestionsSys\PtlCreateQuestion.ts
 */
import { ObjectId } from "mongodb";
import { answer } from "../../types/Answer";
import { question,questions } from "../../types/Question";
import { BaseRequest, BaseResponse, BaseConf } from "../base";

export interface ReqCreateQuestion extends BaseRequest {
   question:question
   answer:answer
}

export interface ResCreateQuestion extends BaseResponse {
  question:questions
}

export const conf: BaseConf = {
  needRole: "teacher",
  needLogin: true,
};
